package com.kekezu.kppw.dataprocess;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.Map;

import android.content.Context;

import com.kekezu.kppw.data.MallData;

public class MallDP {
	/**
	 * 
	 * @param strName
	 * @param strCateId
	 * @param intNew
	 * @param intOrder
	 * @param page
	 * @param context
	 * @return
	 */
	public static ArrayList<HashMap<String, Object>> getMallShop(
			String strName, String strCateId, String intOrder, int page,
			Context context) {
		return MallData
				.getMallShop(strName, strCateId, intOrder, page, context);
	}

	public static Map<String, String> getMallShop222(String strName,
			String strCateId, int intNew, int intOrder, int page,
			Context context) {
		return MallData.getMallShop222(strName, strCateId, intNew, intOrder,
				page, context);
	}

	public static ArrayList<HashMap<String, Object>> getMallData(
			String strdata, Context context) {
		return MallData.getMallData(strdata, context);
	}

	/**
	 * 威客商城-作品，服务
	 * 
	 * @param type
	 * @param strName
	 * @param strCateId
	 * @param intNew
	 * @param intSales
	 * @param intCash
	 * @param page
	 * @param context
	 * @return
	 */
	public static ArrayList<HashMap<String, Object>> getMallWork(int type,
			String strName, String strCateId, String strDesc, int page,
			Context context) {
		return MallData.getMallWork(type, strName, strCateId, strDesc, page,
				context);
	}

	/**
	 * 收藏的店铺
	 * 
	 * @param page
	 * @param context
	 * @return
	 */
	public static ArrayList<HashMap<String, Object>> getShopColl(int page,
			Context context) {
		return MallData.getShopColl(page, context);
	}

	/**
	 * 推荐店铺
	 * 
	 * @param context
	 * @return
	 */
	public static ArrayList<HashMap<String, Object>> hotShop(Context context,
			int type) {
		return MallData.hotShop(context, type);
	}

}
